package com.gxa.hualian.dao.impl;

import com.gxa.hualian.dao.UserDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @Author ChenJin
 * @date 2021/10/15 14:46
 * Description:
 **/

@Repository("userDao")
public class UserDaoImpl implements UserDao {

    @Value("sql")
    private String addSql;

    public String getAddSql() {
        return addSql;
    }

    public void setAddSql(String addSql) {
        this.addSql = addSql;
    }

    @Override
    public void add() {
        System.out.println("addSql"+addSql);
        System.out.println("添加方法");
    }
}
